<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@page import="com.AAL.Model.Account"%>
	<%
	Account myAccount = null;
	if(session.getAttribute("myAccount")!=null){
		myAccount =(Account) session.getAttribute("myAccount");
	}
%>
<div id="header">
    <div id="logo">
        <a href="../index.jsp">
            <img src="../images/logo.gif" alt="" /></a>
    </div>
    <div class="right">
        <div class="loginfrm">
            <div class="moduletable">
                <h3 style="float:right!important;font-size:12px;">
                	<%
                		if(myAccount==null){
                	%>
                    <a href="../login.jsp" style="text-decoration:none!important;font-weight:bolder">Đăng nhập   </a>|
                    <a href="../register.jsp" style="text-decoration:none!important;font-weight:bolder"> Đăng ký</a>
                  	<%}else { %>
                  	<span style="color: blue; font-weight: bold; font-size: 15px;">
                    <% 	out.print("Chào, "+ myAccount.getUserName()+" !!!");%></span> <a href="../Account_logout" style="text-decoration:none!important;"><span style="font-weight: bold;">Đăng xuất</span></a>
                  	<%} %>
                    
                </h3>
            </div>
        </div>
        <div class="viewcartheader">
            <div class="cartBg">
                <div class="moduletable">
                    <div class="vmCartModule">
                        <div class="shoppingcart">
                            <div class="space">
                               <a href="cart.jsp" title="Show Cart">Giỏ hàng</a><br />
                               	Chưa có sản phẩm nào                      
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<img id="indicator-ajax" src="images/ajax-loader.gif" alt="Loading..." style="display: none; margin-left:10%; margin-top:10px;" />